package com.learn.educommentboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 课程留言点赞表
 * </p>
 *
 * @author m
 * @since 2022-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CourseCommentFavoriteRecord对象", description="课程留言点赞表")
public class CourseCommentFavoriteRecord implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户评论点赞j记录ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "用户评论ID")
    private Integer commentId;

    @ApiModelProperty(value = "是否删除，0：未删除（已赞），1：已删除（取消赞状态）")
    @TableField("is_del")
    private Boolean del;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
